package com.it.flowable.dto;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ProcessInstanceDetail {
    private String processInstanceId;
    private String processDefinitionId;
    private Date startTime;
    private Date endTime;
    private String businessKey;
    private String status; // RUNNING 或 COMPLETED
    private List<ActivityInfo> approvedNodes; // 已审批节点
    private List<ActivityInfo> currentNodes;  // 当前进行中的节点（可能多个，如并行网关后）
}

